/**
 * The Timeslot class represents a Timeslot in the Elderhealth system
 * 
 * @author Vy Bui
 * @version 4/13/2007
 */

package com.elderhealth.schedule;

import java.sql.*; 

public class Timeslot 
{
    /* Instance Variables */
    public Timestamp startTime;
    public Timestamp endTime;
    public int workerID;

    /**
     * Contructor for objects of class Timeslot
     *
     */
    public Timeslot()
    {
      startTime = null;
      endTime = null;
      workerID = -1;
    }

    /**
     * Contructor for objects of class Timeslot
     *
     * @param id     Timeslot ID
     * @param start  start time of timeslot
     * @param end    end time of timeslot
     */
    public Timeslot (int id, Timestamp start, Timestamp end)
    {
      workerID = id;
      startTime = start;
      endTime = end;
    }
}
